package com.itheima.genericity1;

public class Test {

    public static void main(String[] args) {

        //泛型接口

        //需求：项目需要对学生和老师的数据都进行增删改查操作
        StudentData studentData = new StudentData();
        studentData.add(new Student());
        Student s = studentData.query(1);
        studentData.remove(new Student());
        studentData.update(new Student());
    }
}
